public class While {
    public static void main(String[] args) {
        int i = 1;
        while (i<=100){
            i++;
            if (i%3==0&&i%5==0){
                System.out.println(i);
            }else{
                continue;
            }

            }

        }

    }

